if(BUOLA_HAVE_ICAL)
    FILE(GLOB cc_sources *.cc)

    add_executable(bcal ${cc_sources})

    target_link_libraries(bcal buolagui buoladb ${LIB_ICAL})

    install(TARGETS bcal DESTINATION ${BIN_INSTALL_DIR})
endif()